<template>
  <view class="ui-page ui-page__scroll">
    <uiForm ref="baseForm">
      <uiField label="基本方式:">
        <template v-slot:input>
          <uiSwitch v-model="isChecked">选择</uiSwitch>
          <uiSwitch v-model="isChecked1">未选中</uiSwitch>
        </template>
      </uiField>
    </uiForm>
    <uiCellGroup title="基本">
      <uiCell>
        <view slot="value">
          <uiSwitch v-model="isChecked">选择</uiSwitch>
          <uiSwitch v-model="isChecked1">未选中</uiSwitch>
        </view>
      </uiCell>
    </uiCellGroup>
  </view>
</template>

<script>
import uiCell from "@/components/base/cell/index.vue";
import uiCellGroup from "@/components/base/cell-group/index.vue";
import uiForm from "@/components/base/form/index.vue";
import uiField from "@/components/base/field/index.vue";

import uiSwitch from "components/base/switch/index";
export default {
  name: "demoRadioComponentPage",
  components: {
    uiCellGroup,
    uiCell,
    uiForm,
    uiField,
    uiSwitch
  },
  data() {
    return {
      isChecked: false,
      isChecked1: true,
      checkGroup: ["b"],
      activeIcon: "https://img.yzcdn.cn/vant/user-active.png",
      inactiveIcon: "https://img.yzcdn.cn/vant/user-inactive.png"
    };
  },
  created() {},
  mounted() {},
  methods: {}
};
</script>

<style scoped lang="scss"></style>
